        <!-- Page Content -->
        <div id="page-wrapper">
            <div class="container-fluid">
              <div class="row">
                    <div class="col-lg-12">
                        <h2 class="page-header">产品管理</h2>
                    </div>
                    <!-- /.col-lg-12 -->
                </div>
                <!-- /.row -->
            	<div class="row">

                    <div class="col-lg-12">
                              <div class="panel panel-default">
                        <div class="panel-heading">
                            添加新产品 | <a class="btn btn-default btn-sm" href="<?=site_url()?>products"><i class="fa fa-arrow-left"></i> 返回</a>
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                         <?php if(isset($msg)){?>
                        <?php foreach ($msg as $m):?>
                        <?php if($m['code']==1){?>
						<div class="alert alert-success">
						<?=$m['msg']?>
						</div>
						<?php }elseif($m['code']==2){?>
						<div class="alert alert-warning">
						<?=$m['msg']?>
						</div>
						<?php }else{?>
						<div class="alert alert-danger">
						<?=$m['msg']?>
						</div>
						<?php }?>
						<?php endforeach;?>
						<?php }?>
					 <form action="<?=current_url()?>" method="post">
                         <div class="catListRadio">
                     	   <div class="col-lg-4">
                     	   <div class="form-group">
                     	   <?=form_error('cat_id'); ?>
                        <ul class="list-unstyled">
                            <?=$category?>
                            </ul>
                            </div>
                            </div>
                            </div>
                          <div class="col-lg-4">
                          	<div class="form-group">
                            		<label>中文 *</label>
                            		<input type="text" name="name_cn" value="<?=set_value('name_cn')?>" class="form-control">
                            		<?=form_error('name_cn'); ?>
                            	</div>
                            	<div class="form-group">
                            		<label>EN *</label>
                            		<input type="text" name="name_en" value="<?=set_value('name_en')?>" class="form-control">
                            		<?=form_error('name_en'); ?>
                            	</div>
                            	<div class="form-group">
                            		<label>NL *</label>
                            		<input type="text" name="name_nl" value="<?=set_value('name_nl')?>" class="form-control">
                            		<?=form_error('name_nl'); ?>
                            	</div>
                            	<hr>
                            	<div class="form-group">
                            		<label>编号 *</label>
                            		<input type="text" name="reference" value="<?=set_value('reference')?>" class="form-control" placeholder="ABC-123456789">
                            		<?=form_error('reference'); ?>
                            	</div>
                            	<div class="form-group">
                            		<label>价格 </label>
                            		  <div class="input-group">
      <div class="input-group-addon"> €</div>
      <input type="text" name="price" value="<?=set_value('price')?>" class="form-control" placeholder="可不填">
      <div class="input-group-addon">含税</div>
    </div>
                            	
                            		<?=form_error('price'); ?>
                            	</div>
                            	
                          </div>
                                                    <div class="col-lg-4">

                            	<div class="form-group">
                            		<label>Description EN </label>
                            		<textarea class="form-control" rows="3" name="text_en"><?=set_value('text_en')?></textarea>
                            	</div>
                            	<div class="form-group">
                            		<label>Description NL </label>
                            		<textarea class="form-control" rows="3" name="text_nl"><?=set_value('text_nl')?></textarea>
                            	</div>
                            	 <div class="form-group"><button type="submit" class="btn btn-sm btn-primary pull-right">添加</button></div>
                          </div>
                          
                         
                           </form>
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                    </div>
                    <!-- /.col-lg-12 -->
				
				</div>
			</div>
		</div>
